gui/macOS: Avoid UB in edge cases where there is no matching account state for a...
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Fri, 14 Mar 2025 13:10:18 +0000 (21:10 +0800)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 14 Mar 2025 14:44:41 +0000 (14:44 +0000)
commitb26d74146b10c6021a781631a236f3b415c42370
treeb248d8659df9cd6e8cd0c8d132e1da51cfe40858
parent462d294cda575855f4e52e21debaff542c1ae5fb
gui/macOS: Avoid UB in edge cases where there is no matching account state for a domain

Do not assume existence of an account for a given domain identifier --
users can modify the config in unexpected ways

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/macOS/fileproviderdomainmanager_mac.mm